﻿using System.Collections.Generic;

namespace ALDIOrganizer
{
    interface IValidating
    {
        /// <summary>
        /// Returns value indicating whether user input on the form is acceptable.
        /// </summary>
        /// <returns>
        /// Key: 1 = input fine; 0 - validated with warning; -1 - not validated (input rejected)
        /// </returns>
        KeyValuePair<FormValidationResult, string> DoesValidate();
    }
}
